<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    var report = {
        "resultcode":"200",
        "reason":"查询成功",
        "result":{
            "sk":{
                "temp":"23",
                "wind_direction":"南风",
                "wind_strength":"3级",
                "humidity":"71%",
                "time":"10:04"
            },
            "today":{
                "temperature":"21℃~26℃",
                "weather":"小雨转多云",
                "weather_id":{
                    "fa":"07",
                    "fb":"01"
                },
                "wind":"西南风3-5级",
                "week":"星期二",
                "city":"青岛",
                "date_y":"2020年09月08日",
                "dressing_index":"舒适",
                "dressing_advice":"建议着长袖T恤、衬衫加单裤等服装。年老体弱者宜着针织长袖衬衫、马甲和长裤。",
                "uv_index":"最弱",
                "comfort_index":"",
                "wash_index":"不宜",
                "travel_index":"较不宜",
                "exercise_index":"较不宜",
                "drying_index":""
            },
            "future":{
                "day_20200908":{
                    "temperature":"21℃~26℃",
                    "weather":"小雨转多云",
                    "weather_id":{
                        "fa":"07",
                        "fb":"01"
                    },
                    "wind":"西南风3-5级",
                    "week":"星期二",
                    "date":"20200908"
                },
                "day_20200909":{
                    "temperature":"20℃~28℃",
                    "weather":"晴",
                    "weather_id":{
                        "fa":"00",
                        "fb":"00"
                    },
                    "wind":"西北风3-5级",
                    "week":"星期三",
                    "date":"20200909"
                },
                "day_20200910":{
                    "temperature":"19℃~28℃",
                    "weather":"多云转小雨",
                    "weather_id":{
                        "fa":"01",
                        "fb":"07"
                    },
                    "wind":"北风3-5级",
                    "week":"星期四",
                    "date":"20200910"
                },
                "day_20200911":{
                    "temperature":"21℃~25℃",
                    "weather":"小雨转多云",
                    "weather_id":{
                        "fa":"07",
                        "fb":"01"
                    },
                    "wind":"西北风3-5级",
                    "week":"星期五",
                    "date":"20200911"
                },
                "day_20200912":{
                    "temperature":"21℃~25℃",
                    "weather":"小雨",
                    "weather_id":{
                        "fa":"07",
                        "fb":"07"
                    },
                    "wind":"东风3-5级",
                    "week":"星期六",
                    "date":"20200912"
                },
                "day_20200913":{
                    "temperature":"20℃~28℃",
                    "weather":"晴",
                    "weather_id":{
                        "fa":"00",
                        "fb":"00"
                    },
                    "wind":"西北风3-5级",
                    "week":"星期日",
                    "date":"20200913"
                },
                "day_20200914":{
                    "temperature":"19℃~28℃",
                    "weather":"多云转小雨",
                    "weather_id":{
                        "fa":"01",
                        "fb":"07"
                    },
                    "wind":"北风3-5级",
                    "week":"星期一",
                    "date":"20200914"
                }
            }
        },
        "error_code":0
    }
    var w = report.result.today.weather
    var t = report.result.today.temperature
    console.log(w)
    console.log(t)

    for (let i = 0; i < report.result.today ;i++){
    }
</script>
</html>